package com.xuecheng.managecms.service;

import com.xuecheng.framework.domain.cms.CmsSite;
import com.xuecheng.managecms.dao.CmsSiteRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jl
 * @description
 * @date 2019-08-13 10:56
 */
@Service
public class CmsSiteService {
    @Autowired
    private CmsSiteRepository cmsSiteRepository;

    public List<CmsSite> getSiteList(){
        return cmsSiteRepository.findAll();
    }
}
